#ifndef __XLISTENER_HPP__
#define __XLISTENER_HPP__

class XListener : public PWSocket
{
public:
	virtual ~XListener();
	bool openServer(PWIOPoll* io, const char* host, const char* service);

protected:
	void onEvent(PWIOPoll* io, int fd, int e);
};

#endif//!__XLISTENER_HPP__

